package com.artezio.task.dao;

import com.artezio.task.model.Contact;
import com.artezio.task.model.ContactTelDetail;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: alobov
 * Date: 19.06.12
 * Time: 10:34
 * To change this template use File | Settings | File Templates.
 */
public interface ContactTelDetailDao {
    void addNewContactTelDetail(Contact contact, ContactTelDetail contactTelDetail);

    void saveContactTelDetail(ContactTelDetail contactTelDetail);

    List<ContactTelDetail> getAllContactTelDetails();

    ContactTelDetail findContactTelDetailById(int id);

    void deleteContactTelDetailById(int id);

    void deleteContactTelDetail(ContactTelDetail contactTelDetail);

    List<ContactTelDetail> getContactsTelDetailByCriteria();

}
